let byklqsOpt = {
  tooltip: {
    trigger: 'axis'
  },
  grid: {
    left: '3%',
    right: '4%',
    bottom: '6%',
    top: '10%',
    containLabel: true
  },
  xAxis: {
    type: 'category',
    axisTick:{
    	show: false
    },
    boundaryGap: false,
    data: []
  },
  yAxis: {
    type: 'value',
    splitLine:{
	  	lineStyle:{
	  		type: 'dashed',
	  		color: 'rgba(39,163,212,0.52)'
	  	}
	  },
  },
  series: [
    {
      name: '本月车流趋势',
      type: 'line',
      itemStyle: { color: '#70BCF8' },
      smooth: true,
      lineStyle: {
        width: 4
      },
      areaStyle: {
        opacity: 0.8,
        color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
          {
            offset: 0,
            color: 'rgb(1, 191, 236)'
          },
          {
            offset: 1,
            color: 'rgb(1, 191, 236,0.1)'
          }
        ])
      },
      data: []
    }
  ]
};

for(var i = 1;i < 31;i++){
	byklqsOpt.xAxis.data.push(i + '日');
	byklqsOpt.series[0].data.push(parseInt(Math.random()*10));
}

echarts.init(document.getElementById('byklqs')).setOption(byklqsOpt, true);